package com.gh.manager.train.domain;

import com.gh.common.annotation.Excel;
import com.gh.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class GhTrainUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 训练表 */
    private Long trainId;

    /** 班级 */
    private Long userId;

    /** 0到训，1请假，2迟到，3缺勤 */
    @Excel(name = "0到训，1请假，2迟到，3缺勤")
    private Long status;

    public void setTrainId(Long trainId) 
    {
        this.trainId = trainId;
    }

    public Long getTrainId() 
    {
        return trainId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("trainId", getTrainId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .toString();
    }
}